package com.matt.repository.rel;

import com.matt.domain.rel.RelClassesDoctor;
import com.matt.domain.rel.RelClassesNurse;
import com.matt.foundation.model.UnionKey;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * created by 409718109@qq.com
 * from Matt
 * on 2019/12/04
 */
public interface RelClassesDoctorRepository extends JpaRepository<RelClassesDoctor,UnionKey> ,JpaSpecificationExecutor<RelClassesDoctor> {
    //根据classesId删除关系
    Long deleteAllByIdLinkId(String linkId);
}
